import { useRef } from "react";

function HookRef() {
    const playerRef = useRef(null);
    // class VideoPlayer {}
    // function getPlayer() {
    //     if (playerRef.current !== null) {
    //         return playerRef.current;
    //     }
    //     const player = new VideoPlayer();
    //     playerRef.current = player;
    //     return player;
    // }
    return (
        <>
            
        </>
    )
}

export default HookRef